package com.atguigu.gmall.product.config;

import com.atguigu.gmall.annotation.*;
import com.atguigu.gmall.minio.propreties.MinioProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author 卡尼奶
 * @Date 2022/5/18 18:25
 * @Version 1.0
 */
//@RefreshScope
@AppGlobalException
@ProductConfig
//@ComponentScan("com.atguigu.gmall")
@EnableConfigurationProperties({MinioProperties.class})
@Configuration
@MinioApiConfig
@ApiSwagger2Config
@EnableAppRedisson
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.list")
@EnableScheduling //开启定时任务
public class AppConfiguration {

}
